﻿<controls:ChildWindow x:Class="AstekServis.Views.SozlesmeTanitim"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="600" Height="500" 
           Title="Sözleşme Tanıtım" xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/datagrid">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="0.60*" />
            <RowDefinition Height="0.40*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Sil" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="2" />
        <Button x:Name="OKButton" Content="Kaydet" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="2" />
        <Grid Margin="0" x:Name="grdLay" Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="5"/>
                <RowDefinition Height="20*"/>
                <RowDefinition Height="20*"/>
                <RowDefinition Height="20*"/>
                <RowDefinition Height="20*"/>
                <RowDefinition Height="20*"/>
                <RowDefinition Height="5"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.22*"/>
                <ColumnDefinition Width="0.78*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Margin="54,8,4,8" TextWrapping="Wrap" Text="Sistem No :" TextAlignment="Right" Grid.Row="1" HorizontalAlignment="Right"/>
            <TextBlock Margin="54,8,4,8" TextWrapping="Wrap" Text="Başlangıç :" TextAlignment="Right" Grid.Row="2"/>
            <controls:DatePicker x:Name="dteBaslangic" Margin="4,2,0,2" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Width="161"/>
            <controls:DatePicker x:Name="dteBitis" Margin="4,2,0,2" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left" Width="161"/>
            <TextBlock Margin="54,8,4,8" TextWrapping="Wrap" Text="Bitiş :" TextAlignment="Right" Grid.Row="3"/>
            <TextBlock x:Name="lblFilm" Margin="79,8,4,8" TextWrapping="Wrap" Text="Film :" TextAlignment="Right" Grid.Row="4"/>
            <ComboBox x:Name="cmbFilm" Margin="4,2,0,2" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left" Width="161"/>
            <TextBox x:Name="txtTutar" Margin="4,2,0,2" TextWrapping="Wrap" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Left" Width="161"/>
            <TextBlock Margin="79,8,4,8" TextWrapping="Wrap" Text="Tutar :" TextAlignment="Right" Grid.Row="5"/>
            <TextBox Grid.Row="1" Margin="162,4,158,4" Name="txtArac" TextWrapping="Wrap" Grid.Column="1" KeyDown="txtArac_KeyDown" />
            <Button Content="Ara" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Margin="298,4,0,4" Width="38" Click="Button_Click" />
            <Button Content="Araç Bilgi" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Right" Margin="0,4,40,4" Name="btnAracAc" Width="68" Click="btnAracAc_Click" />
            <TextBox FontWeight="Bold" Foreground="#FFE80303" Grid.Row="1" IsReadOnly="True" Margin="4,4,351,4" Name="txtSistemNo" TextWrapping="Wrap" Grid.Column="1" />
            <TextBlock Grid.Row="1" HorizontalAlignment="Right" Margin="0,8,297,8" Text="Plaka :" TextAlignment="Right" TextWrapping="Wrap" Grid.Column="1" />
        </Grid>
        <dxg:AgDataGrid Height="Auto" AllowEditing="False" AutoGenerateColumns="False" ColumnsAutoWidth="True" HorizontalAlignment="Stretch" Margin="4" Name="agDataGrid1" VerticalAlignment="Stretch" Width="Auto" />
    </Grid>
</controls:ChildWindow>